package com.yunxin.download.server.service;

import com.yunxin.download.server.model.entity.DownloadDataSourceConfig;

/**
 * @author zero°
 * @since 2023-06-13
 */
public interface DataSourceService {

    /**
     * 新增数据源
     *
     * @param config config
     * @return String
     */
    String addDateSource(DownloadDataSourceConfig config);

    void updateDateSource(DownloadDataSourceConfig config);
}